package com.wlxk.crawler.core.exception;

/**
 * @author PanQiangQiang
 * @since 2021-11-04 13:14:25
 */
public enum WlxkErrEnum {

    UNKNOWN(100501, "未知错误"),
    CHANNEL_EMPTY(200101, "渠道编码不能为空"),
    CHANNEL_ERR(200102, "渠道编码错误"),
    PARAM_ERR(200102, "参数错误"),
    ;

    /**
     * 编码
     */
    public final int code;
    /**
     * 消息
     */
    public final String msg;

    WlxkErrEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
